package com.book.common.lang;

/**
 * Description：
 * @Author： leo.xiong
 * @CreateDate： 2020/4/15 10:32
 * @Email： leo.xiong@suyun360.com
 * Version：1.0
 */
public class Tuple5<T1, T2, T3, T4, T5> extends Tuple4<T1, T2, T3, T4> {

    private final T5 _5;

    public Tuple5(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5) {
        super(t1, t2, t3, t4);
        this._5 = t5;
    }

    public T5 _5() {
        return _5;
    }

    @Override
    public String toString() {
        return "(" + super._1() + "," + super._2() + "," + super._3() + "," + super._4() + "," + _5 + ")";
    }
}
